package cn.java78.springboot.myschool.pojo;


import cn.java78.springboot.myschool.entity.Subject;

/**
 * @author oldliu
 * @since 1.0
 */
public class Subject2 extends Subject {
    private String gradeName;
    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    @Override
    public String toString() {
        return "Subject2{" +
                "gradeName='" + gradeName + '\'' +','+
                super.toString()+
                '}';
    }
}
